import React from 'react';
import { connect } from 'dva';
import { ListView, Icon, Badge } from 'antd-mobile';
import avatar from '../../../../../../../framework/utils/avatar';
import styles from './MyEducationItem.css';
import date from '../../../../../../../framework/utils/date';

import check from '../../../../../../../icons/personal/checked-icon.png';
import authenticationIcon from '../../../../../../../icons/partTime/authentication-icon.png';

const MyEducationItem = ({
  loading,
  item={},
  onPutEducation=()=>{},
  showLimit=()=>{},
}) => {
  const publishTime = date.delta(item.publishTime)


  return (
    <div onClick={()=>onPutEducation(item.id)} key={item.id} className={styles.container} >
      <div className={styles.itemText}>
        <div className={styles.name}>可圈点</div>
        <div className={styles.date}><span>2017-08</span>-<span>至今</span></div>
      </div>
      <div className={styles.itemArrow}>
        <Icon type='right' size='md' color='#6A6A6A' />
      </div>
    </div>
  );
};

MyEducationItem.propTypes = {
};

export default connect()(MyEducationItem);
